package forum.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

/**
 * @author haomin
 * @date 2022/06/30 07:48
 **/

// 使用@Data注解在类上时，不用再手动添加get/set等方法了，简化代码
@Data
public class User {
    public Integer uID;
    public String username;
    @JsonIgnore
    public String password;
    public String userSex;
    public Integer userAge;
    public String userOccupation;
    public String userHobby;
    public Integer userPoint;
    public Integer userClass;
    public String userRegister;
}